Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: reenable integration tests #470

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

matdehaast
Copy link

Re enable the integration tests now that the integration tests have been moved to use ILPv4 with STREAM

@codecov-io
Copy link

codecov-io commented Nov 27, 2018

Codecov Report

Merging #470 into master will increase coverage by 0.1%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #470     +/-   ##
=========================================
+ Coverage   73.52%   73.62%   +0.1%     
=========================================
  Files          44       44             
  Lines        2047     2059     +12     
  Branches      330      332      +2     
=========================================
+ Hits         1505     1516     +11     
- Misses        542      543      +1
Impacted Files Coverage Δ
src/controllers/echo.ts 41.93% <0%> (ø) ⬆️
src/services/stats.ts 100% <100%> (ø) ⬆️
src/controllers/ildcp-host.ts 100% <100%> (ø) ⬆️
src/app.ts 55.55% <50%> (+0.55%) ⬆️
src/middlewares/deduplicate.ts 79.16% <78.57%> (+2.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4fb558...d3d4c61. Read the comment docs.

@@ -33,7 +33,7 @@
"lint": "tslint --project . && eslint test/",
"test": "nyc mocha",
"report-coverage": "nyc report --reporter=json && codecov -f coverage/*.json",
"integration": "integration-loader && integration all",
"integration": "integration-loader && integration all -- --exit",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As there are unterminated listeners lingering in tests/tested components (STREAM and possible Connector), Mocha 4 doesnt automatically exit the tests (mochajs/mocha#3044)

Adding the -- --exit passes the exit flag to mocha and allows the tests to exit correctly after finished running

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unterminated listeners seems like a bug that should be fixed, not sidestepped, but this is an alright stopgap.

@codecov-commenter
Copy link

Codecov Report

Merging #470 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #470   +/-   ##
=======================================
  Coverage   73.62%   73.62%           
=======================================
  Files          44       44           
  Lines        2059     2059           
  Branches      332      332           
=======================================
  Hits         1516     1516           
  Misses        543      543           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a7c4bcd...d3d4c61. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants